const express = require('express');
const router = express.Router();

router.get('/home', (req, res, next) => {
  res.json({ title: 'Home', desc: 'This is Home Page' })
})

router.get('/user', (req, res, next) => {
  res.json({ name: '张三', age: 23, id: "001" })
})

module.exports = router;